.class public Lcom/waiqin365/lightapp/dailyreport/view/ak;
.super Landroid/app/DialogFragment;

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;


# instance fields
.field a:Landroid/widget/LinearLayout;

.field private b:Landroid/content/Context;

.field private c:Landroid/widget/RelativeLayout;

.field private d:Landroid/view/View;

.field private e:Landroid/widget/EditText;

.field private f:Landroid/widget/ImageView;

.field private g:Landroid/support/v4/view/ViewPager;

.field private h:Ljava/util/List;

.field private i:[Landroid/widget/ImageView;

.field private j:Landroid/widget/LinearLayout;

.field private k:Landroid/widget/LinearLayout;

.field private l:Landroid/widget/ImageView;

.field private m:Landroid/widget/TextView;

.field private n:Landroid/widget/LinearLayout;

.field private o:Landroid/widget/RatingBar;

.field private p:Ljava/util/List;

.field private q:I

.field private r:Ljava/util/HashMap;

.field private s:Ljava/util/HashMap;

.field private t:I

.field private u:Landroid/os/Handler;

.field private v:Lcom/waiqin365/lightapp/dailyreport/view/cn;

.field private w:Ljava/lang/Object;

.field private x:Ljava/lang/Object;

.field private y:Lcom/waiqin365/compons/view/a;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Landroid/app/DialogFragment;-><init>()V

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->r:Ljava/util/HashMap;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->s:Ljava/util/HashMap;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/view/ak;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->t:I

    return p1
.end method

.method private a(I)Landroid/view/View;
    .locals 8

    const/16 v7, 0x45

    const/16 v4, 0x2e

    const/16 v6, 0x17

    const/4 v5, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b:Landroid/content/Context;

    const v1, 0x7f03015d

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c0779

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/widget/ExpandGridView;

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    if-ne p1, v5, :cond_1

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->p:Ljava/util/List;

    const/4 v4, 0x0

    invoke-interface {v3, v4, v6}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    :goto_0
    const-string/jumbo v3, "im_delete_expression"

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v3, Lcom/waiqin365/lightapp/im/adapter/aq;

    iget-object v4, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b:Landroid/content/Context;

    invoke-direct {v3, v4, v5, v2}, Lcom/waiqin365/lightapp/im/adapter/aq;-><init>(Landroid/content/Context;ILjava/util/List;)V

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/im/widget/ExpandGridView;->setAdapter(Landroid/widget/ListAdapter;)V

    new-instance v2, Lcom/waiqin365/lightapp/dailyreport/view/as;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/as;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/ak;Lcom/waiqin365/lightapp/im/adapter/aq;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/im/widget/ExpandGridView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    return-object v1

    :cond_1
    const/4 v3, 0x2

    if-ne p1, v3, :cond_2

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->p:Ljava/util/List;

    invoke-interface {v3, v6, v4}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_0

    :cond_2
    const/4 v3, 0x3

    if-ne p1, v3, :cond_3

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->p:Ljava/util/List;

    invoke-interface {v3, v4, v7}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_0

    :cond_3
    const/4 v3, 0x4

    if-ne p1, v3, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->p:Ljava/util/List;

    const/16 v4, 0x5a

    invoke-interface {v3, v7, v4}, Ljava/util/List;->subList(II)Ljava/util/List;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->f()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b:Landroid/content/Context;

    return-object v0
.end method

.method private b(I)V
    .locals 2

    if-ltz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-gt p1, v0, :cond_0

    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->q:I

    if-ne v0, p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->i:[Landroid/widget/ImageView;

    aget-object v0, v0, p1

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->i:[Landroid/widget/ImageView;

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->q:I

    aget-object v0, v0, v1

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V

    iput p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->q:I

    goto :goto_0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    return-object v0
.end method

.method private c()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/view/al;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/view/al;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->u:Landroid/os/Handler;

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/RatingBar;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->o:Landroid/widget/RatingBar;

    return-object v0
.end method

.method private d()V
    .locals 4

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    new-array v0, v0, [Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->i:[Landroid/widget/ImageView;

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->i:[Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    aput-object v0, v3, v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->i:[Landroid/widget/ImageView;

    aget-object v0, v0, v1

    const/4 v3, 0x1

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setEnabled(Z)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iput v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->q:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->i:[Landroid/widget/ImageView;

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->q:I

    aget-object v0, v0, v1

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setEnabled(Z)V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/dailyreport/view/ak;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->t:I

    return v0
.end method

.method private e()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b:Landroid/content/Context;

    instance-of v0, v0, Landroid/app/Activity;

    if-eqz v0, :cond_0

    new-instance v1, Lcom/waiqin365/compons/view/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-direct {v1, v0}, Lcom/waiqin365/compons/view/a;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->y:Lcom/waiqin365/compons/view/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->y:Lcom/waiqin365/compons/view/a;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->y:Lcom/waiqin365/compons/view/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Z)V

    :cond_0
    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Lcom/waiqin365/lightapp/dailyreport/view/cn;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->v:Lcom/waiqin365/lightapp/dailyreport/view/cn;

    return-object v0
.end method

.method private f()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->y:Lcom/waiqin365/compons/view/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->y:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->y:Lcom/waiqin365/compons/view/a;

    :cond_0
    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->m:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->k:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->l:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->n:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e()V

    return-void
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/dailyreport/view/ak;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->u:Landroid/os/Handler;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->x:Ljava/lang/Object;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->x:Ljava/lang/Object;

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->x:Ljava/lang/Object;

    instance-of v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    if-eqz v0, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->r:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->x:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->a:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :goto_1
    const-string/jumbo v0, ""

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    instance-of v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    if-eqz v0, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->r:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    :goto_2
    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b:Landroid/content/Context;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_5

    const-string/jumbo v1, ""

    :goto_3
    const v3, 0x3f19999a    # 0.6f

    invoke-static {v2, v1, v3}, Lcom/waiqin365/lightapp/dailyreport/util/DailySmileUtils;->getSmiledText(Landroid/content/Context;Ljava/lang/CharSequence;F)Landroid/text/Spannable;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    invoke-virtual {v2, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setSelection(I)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->x:Ljava/lang/Object;

    goto :goto_0

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->r:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->x:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->s:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->x:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->o:Landroid/widget/RatingBar;

    invoke-virtual {v2}, Landroid/widget/RatingBar;->getRating()F

    move-result v2

    invoke-static {v2}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v2

    invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->r:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->s:Ljava/util/HashMap;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    invoke-virtual {v2, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Float;

    if-eqz v1, :cond_4

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->o:Landroid/widget/RatingBar;

    invoke-virtual {v1}, Ljava/lang/Float;->floatValue()F

    move-result v1

    invoke-virtual {v2, v1}, Landroid/widget/RatingBar;->setRating(F)V

    goto :goto_2

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->o:Landroid/widget/RatingBar;

    const/high16 v2, 0x40400000    # 3.0f

    invoke-virtual {v1, v2}, Landroid/widget/RatingBar;->setRating(F)V

    goto/16 :goto_2

    :cond_5
    move-object v1, v0

    goto :goto_3
.end method

.method public a(Landroid/view/View;)V
    .locals 8

    const/4 v7, 0x1

    const/4 v6, 0x0

    const/16 v5, 0x8

    const v0, 0x7f0c05e4

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->c:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c05e5

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->d:Landroid/view/View;

    const v0, 0x7f0c05e9

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    const v0, 0x7f0c05ea

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->f:Landroid/widget/ImageView;

    const v0, 0x7f0c05e8

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a:Landroid/widget/LinearLayout;

    const v0, 0x7f0c05b3

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/support/v4/view/ViewPager;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->g:Landroid/support/v4/view/ViewPager;

    const/16 v0, 0x5a

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/util/DailySmileUtils;->getExpressionRes(I)Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->p:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->h:Ljava/util/List;

    invoke-direct {p0, v7}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x2

    invoke-direct {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a(I)Landroid/view/View;

    move-result-object v1

    const/4 v2, 0x3

    invoke-direct {p0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a(I)Landroid/view/View;

    move-result-object v2

    const/4 v3, 0x4

    invoke-direct {p0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a(I)Landroid/view/View;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->h:Ljava/util/List;

    invoke-interface {v4, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->h:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->h:Ljava/util/List;

    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->g:Landroid/support/v4/view/ViewPager;

    new-instance v1, Lcom/waiqin365/lightapp/im/adapter/ar;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->h:Ljava/util/List;

    invoke-direct {v1, v2}, Lcom/waiqin365/lightapp/im/adapter/ar;-><init>(Ljava/util/List;)V

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->g:Landroid/support/v4/view/ViewPager;

    invoke-virtual {v0, p0}, Landroid/support/v4/view/ViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    const v0, 0x7f0c05b2

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->k:Landroid/widget/LinearLayout;

    const v0, 0x7f0c05b4

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->j:Landroid/widget/LinearLayout;

    const v0, 0x7f0c05ed

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->l:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->l:Landroid/widget/ImageView;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/view/am;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/view/am;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->d()V

    const v0, 0x7f0c05eb

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->m:Landroid/widget/TextView;

    const v0, 0x7f0c05e6

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->n:Landroid/widget/LinearLayout;

    const v0, 0x7f0c05e7

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RatingBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->o:Landroid/widget/RatingBar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    instance-of v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f0806a5

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/c;->d:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->l:Landroid/widget/ImageView;

    const v1, 0x7f02012f

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/view/an;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/view/an;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/view/ao;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/view/ao;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->m:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->m:Landroid/widget/TextView;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/view/ap;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/view/ap;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->d:Landroid/view/View;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/view/aq;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/view/aq;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/view/ar;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/view/ar;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/ak;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->n:Ljava/lang/String;

    invoke-static {v0, v6}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->o:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b:Landroid/content/Context;

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    if-nez v1, :cond_1

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string/jumbo v1, "2"

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->j:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string/jumbo v1, "3"

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->j:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string/jumbo v1, "100"

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->j:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    const v1, 0x7f080128

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_1
.end method

.method public a(Lcom/waiqin365/lightapp/dailyreport/view/cn;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->v:Lcom/waiqin365/lightapp/dailyreport/view/cn;

    return-void
.end method

.method public a(Ljava/lang/Object;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->w:Ljava/lang/Object;

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->e:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->append(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public b()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->dismiss()V

    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Landroid/app/DialogFragment;->onCreate(Landroid/os/Bundle;)V

    const/4 v0, 0x0

    const v1, 0x103007a

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->setStyle(II)V

    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 4

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->getActivity()Landroid/app/Activity;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b:Landroid/content/Context;

    const v0, 0x7f0300fd

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->getDialog()Landroid/app/Dialog;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v1

    new-instance v2, Landroid/graphics/drawable/ColorDrawable;

    const/4 v3, 0x0

    invoke-direct {v2, v3}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v1, v2}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a(Landroid/view/View;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->c()V

    return-object v0
.end method

.method public onPageScrollStateChanged(I)V
    .locals 0

    return-void
.end method

.method public onPageScrolled(IFI)V
    .locals 0

    return-void
.end method

.method public onPageSelected(I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->b(I)V

    return-void
.end method

.method public onResume()V
    .locals 0

    invoke-super {p0}, Landroid/app/DialogFragment;->onResume()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/view/ak;->a()V

    return-void
.end method
